package Java0304;

import java.util.Scanner;

public class Num {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入一个整数：");
        int number = scan.nextInt();
        if (number % 2 == 0) {
            System.out.println(number + "是偶数。");
        } else {
            System.out.println(number + "不是偶数。");
        }
    }
}
